package com.zty.xiaomiadmin.server.Service.ServiceOrder;

import com.zty.xiaomiadmin.server.Entity.ServiceOrder.ServiceOrder;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.util.List;

@Component
public interface ServiceOrderService {
    List<ServiceOrder> getServiceOrderByStatusAndStoreId(int pageIndex,int pageSize,int status,int store_id) throws IOException;

    List<ServiceOrder> getServiceOrderByStoreId(int pageIndex,int pageSize,int store_id) throws IOException;

    int countServiceOrderByStatusAndStoreId(int status,int store_id) throws IOException;

    int countServiceOrderByStoreId(int store_id) throws IOException;

    int updateServiceOrderStatusById(int id, int status, String store_reply) throws IOException;

    List<ServiceOrder> getServiceOrder(int pageIndex, int pageSize) throws IOException;
}
